﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="chitiethoahong.ascx.cs" Inherits="eDream.Page.chitiethoahong" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<div style="margin-top: 20px">
    <div class="cloum_text">
        Tháng
    </div>
    <div class="cloum_1">
        <dx:ASPxComboBox ID="dteMonth" runat="server" Theme="DevEx" Height="29px">
            <Items>
                <dx:ListEditItem Text="1" Value="1" />
                <dx:ListEditItem Text="2" Value="2" />
                <dx:ListEditItem Text="3" Value="3" />
                <dx:ListEditItem Text="4" Value="4" />
                <dx:ListEditItem Text="5" Value="5" />
                <dx:ListEditItem Text="6" Value="6" />
                <dx:ListEditItem Text="7" Value="7" />
                <dx:ListEditItem Text="8" Value="8" />
                <dx:ListEditItem Text="9" Value="9" />
                <dx:ListEditItem Text="10" Value="10" />
                <dx:ListEditItem Text="11" Value="11" />
                <dx:ListEditItem Text="12" Value="12" />
            </Items>
        </dx:ASPxComboBox>
    </div>
    <div class="cloum_text">
        Năm
    </div>
    <div class="cloum_1">
        <dx:ASPxComboBox ID="dteYear" runat="server" Theme="DevEx" Height="29px">
            <Items>
                <dx:ListEditItem Text="Năm 2013" Value="2013" />
                <dx:ListEditItem Text="Năm 2014" Value="2014" />
                <dx:ListEditItem Text="Năm 2015" Value="2015" />
                <dx:ListEditItem Text="Năm 2016" Value="2016" />
                <dx:ListEditItem Text="Năm 2017" Value="2017" />
                <dx:ListEditItem Text="Năm 2018" Value="2018" />
                <dx:ListEditItem Text="Năm 2019" Value="2019" />
                <dx:ListEditItem Text="Năm 2020" Value="2020" />
            </Items>
        </dx:ASPxComboBox>
    </div>
    <div class="cloum_1">
        <dx:ASPxButton ID="btnTim" runat="server" Text="Tìm" Theme="iOS" AutoPostBack="false" OnClick="btnTim_Click">
        </dx:ASPxButton>
    </div>
    <div class="Clear"></div>
    <div class="grvConten">
        <dx:ASPxCallbackPanel ID="ASPxCallbackPanel1" runat="server" ClientInstanceName="cpanlhh" OnCallback="ASPxCallbackPanel1_Callback" Width="100%">
            <PanelCollection>
                <dx:PanelContent>
                    <dx:ASPxGridView ID="grvResult" runat="server" Theme="DevEx" Width="100%" AutoGenerateColumns="False" KeyFieldName="Id">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="STT" Name="colRowID" VisibleIndex="0"
                                Width="20px">
                                <DataItemTemplate>
                                    <dx:ASPxLabel ID="lblRowID" runat="server" Text='<%# Container.ItemIndex + 1 %>'>
                                    </dx:ASPxLabel>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" VisibleIndex="1" FieldName="Id" ReadOnly="True" Visible="false">
                                <EditFormSettings Visible="False" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption=" 1" VisibleIndex="5" FieldName="n1" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n1") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption=" 2" VisibleIndex="6" FieldName="n2" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n2") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption=" 3" VisibleIndex="7" FieldName="n3" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n3") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption=" 4" VisibleIndex="8" FieldName="n4" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n4") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption=" 5" VisibleIndex="9" FieldName="n5" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n5") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn ShowInCustomizationForm="True" Caption="6" VisibleIndex="10" FieldName="n6" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n6") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="n7" Caption="7" ShowInCustomizationForm="True" VisibleIndex="11" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n7") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="n8" Caption="8" ShowInCustomizationForm="True" VisibleIndex="12" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n8") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="n9" Caption="9" ShowInCustomizationForm="True" VisibleIndex="13" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n9") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="n10" Caption="10" ShowInCustomizationForm="True" VisibleIndex="14" Width="9%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <%#Eval("n10") %>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="payback" Caption="Hỗ trợ" ShowInCustomizationForm="True" VisibleIndex="15" Width="10%">
                                <HeaderStyle Font-Bold="true" Wrap="True" HorizontalAlign="Center" />
                                <CellStyle Wrap="True" HorizontalAlign="Center"></CellStyle>
                                <DataItemTemplate>
                                    <div class="textred">
                                        <%#Eval("tientra") %>
                                    </div>
                                </DataItemTemplate>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsBehavior AllowSort="false" />
                        <SettingsPager Mode="ShowAllRecords"></SettingsPager>
                    </dx:ASPxGridView>

                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxCallbackPanel>


    </div>

</div>
